class UserMailer < ActionMailer::Base
  default from: "jackblack0710@gmail.com"
  
  def remind(user, book, date)
    @user = user
    @book = book
    @date = date
    mail to: user.email
  end
  
  def password_reset(user)
    @user = user
    mail to: user.email, :subject => "Password Reset"
  end
end
